package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 配送店对象 shop
 *
 * @author ruoyi
 * @date 2025-05-09
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String tag;
    private List<String> addressCode;
    /** 配送店编号 */
    private Long id;

    /** 配送店名称 */
    @Excel(name = "配送店名称")
    private String name;

    /** 配送店电话 */
    @Excel(name = "配送店电话")
    private String phone;

    /** 省 */
    @Excel(name = "省")
    private String provinceName;

    /** 省code */
    @Excel(name = "省code")
    private String provinceCode;

    /** 市 */
    @Excel(name = "市")
    private String cityName;

    /** 市code */
    @Excel(name = "市code")
    private String cityCode;

    /** 区 */
    @Excel(name = "区")
    private String districtName;

    /** 区code */
    @Excel(name = "区code")
    private String districtCode;

    /** 地址标签 */
    @Excel(name = "地址标签")
    private String addressTag;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public List<String> getAddressCode() {
        return addressCode;
    }

    public void setAddressCode(List<String> addressCode) {
        this.addressCode = addressCode;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }

    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }

    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }

    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }

    public void setDistrictName(String districtName)
    {
        this.districtName = districtName;
    }

    public String getDistrictName()
    {
        return districtName;
    }

    public void setDistrictCode(String districtCode)
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode()
    {
        return districtCode;
    }

    public void setAddressTag(String addressTag)
    {
        this.addressTag = addressTag;
    }

    public String getAddressTag()
    {
        return addressTag;
    }

    public void setDetailAddress(String detailAddress)
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress()
    {
        return detailAddress;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("provinceName", getProvinceName())
            .append("provinceCode", getProvinceCode())
            .append("cityName", getCityName())
            .append("cityCode", getCityCode())
            .append("districtName", getDistrictName())
            .append("districtCode", getDistrictCode())
            .append("addressTag", getAddressTag())
            .append("detailAddress", getDetailAddress())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
